<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">



    <ui:composition template="./../templates/external.xhtml">

        <ui:define name="top_login">
            <div style="height: 100px"> </div>
           
        </ui:define>

        <ui:define name="content_login">

            <div align="center">
                <h:form styleClass="form_login">
                    <fieldset>
                        <span>Login</span>
                        <h:panelGrid columns="2">
                            <p:outputLabel for="usuario" value="Usuário"/>
                            <p:inputText id="usuario" value="#{autenticador.usuario.nome}" title="Informe seu nome de usuário"/>
                            <p:outputLabel for="senha" value="Senha:"/>
                            <p:password id="senha" value="#{autenticador.usuario.password}" title="Informe sua senha de usuário" />

                            <p:commandButton value="Entrar" style="height: 30px;border-radius:10px" ajax="false" title="Login" action="#{autenticador.logar}"  />
                                  
                            <p:commandLink value="Esqueceu a senha" style="padding-left: 40px" ajax="false" title="Recuperar os dados do login"/>
                                                        
                            <p:growl autoUpdate="true" sticky="true" life="3000"/>

                        </h:panelGrid>
                    </fieldset>
                </h:form>
            </div>
        </ui:define>


    </ui:composition>


</html>
